package com.hsgene.logistics.dto;

import java.util.List;

/**
 * 快递100的结果实体
 */
public class KuaiDi100Info {

    /**
     * 消息体
     */
    private String message;
    /**
     * 快递单号
     */
    private String nu;

    /**
     * 快递公司
     */
    private String com;
    /**
     * condition(忽略)
     */
    private String condition;
    /**
     * 通讯状态(忽略)
     */
    private String status;
    /**
     * 快递当前状态
     */
    private String state;

    /**
     * ischeck
     */
    private String ischeck;

    /**
     * 花生仁使用
     * 查询结果(false代表查询异常)
     */
    private boolean result;

    /**
     * 查询结果码(result为false情况下出现)500表示没有查到结果
     */
    private String returnCode;

    /**
     * 查询结果(倒序)
     */
    private List<KuaiDi100DeatisInfo> data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getNu() {
        return nu;
    }

    public void setNu(String nu) {
        this.nu = nu;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCom() {
        return com;
    }

    public void setCom(String com) {
        this.com = com;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<KuaiDi100DeatisInfo> getData() {
        return data;
    }

    public void setData(List<KuaiDi100DeatisInfo> data) {
        this.data = data;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public String getIscheck() {
        return ischeck;
    }

    public void setIscheck(String ischeck) {
        this.ischeck = ischeck;
    }

    @Override
    public String toString() {
        return "KuaiDi100Info{" +
                "message='" + message + '\'' +
                ", nu='" + nu + '\'' +
                ", condition='" + condition + '\'' +
                ", status='" + status + '\'' +
                ", state='" + state + '\'' +
                ", data=" + data +
                '}';
    }
}
